package com.tuanzi.loan.business.service.system;

import java.util.List;

import com.tuanzi.loan.business.entity.system.DataPermission;
import com.tuanzi.loan.core.service.BaseService;

/**
 * @author Ray 2017/09/21
 */
public interface DataPermissionService extends BaseService<DataPermission, String> {

	void movePermission(DataPermission from, DataPermission to);

	List<DataPermission> findAllPermissionByUserId(String userId);

	void recurseDelete(DataPermission root);
}
